(sh-prev-thing): Fix last change.
authorEli Zaretskii <eliz@gnu.org>
Mon, 2 Oct 2006 08:50:50 +0000 (08:50 +0000)
committerEli Zaretskii <eliz@gnu.org>
Mon, 2 Oct 2006 08:50:50 +0000 (08:50 +0000)
lisp/progmodes/sh-script.el

index 4032c9ce933aae44dc0c700c2acf51e0c9bd5433..089715b4836117bc6fac15cf614f799b285a3fba 100644 (file)
@@ -2472,8 +2472,8 @@ we go to the end of the previous line and do not check for continuations."
        (point))
        (skip-chars-backward " \t;")
        (unless (looking-at "\\s-*;;")
-       (skip-chars-backward "^)}];\"'`({[")
-       (setq c (char-before))
+         (skip-chars-backward "^)}];\"'`({[")
+         (setq c (char-before)))
        (sh-debug "stopping at %d c is %s  start=%d min-point=%d"
                  (point) c start min-point)
        (if (< (point) min-point)
@@ -2508,7 +2508,7 @@ we go to the end of the previous line and do not check for continuations."
          ;; c  -- return a string
          (char-to-string c)
          ))
-       )))))
+       ))))
 
 
 (defun sh-this-is-a-continuation ()